package com.test.springbootweb.Controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class ListParamController {
    @PostMapping("/ListParam")
    public static String main(@RequestParam List<String> hobby) {
        System.out.println(hobby);
        return "OK";
    }
}
